package cc.linker.steplink.crm.merchant.dao;

import cc.linker.steplink.crm.merchant.pojo.MallBoomPo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface MallBoomBackMapper {

    MallBoomPo getSet(@Param(value = "orgId") String orgId);

    int setMall(Map<String, Object> params);

    List<Map<String, Object>> getSales(@Param(value = "orgId") String orgId,@Param(value = "payMode") Integer payMode);

    List<Map<String, String>> getSonBoomList(@Param(value = "orgId") String orgId);

    int updateGoodsMax(Map<String, Object> params);

    int changeStatus(Map<String, Object> params);

    Map<String, Object> getSalerVerify(@Param(value = "customerId") String customerId);

    Map<String, Object> getSalerVerifyById(@Param(value = "id") Integer id);

    List<Map<String, Object>> salerVerifyList(@Param(value = "orgId") String orgId);

    int changeAuthenticateStatus(Map<String, Object> params);

    int changeCheckStatus(Map<String, Object> params);

    String getPhoneByCustomerId(@Param(value = "customerId") String customerId);

    Map<String, Object> getWallet(@Param(value = "customerId") String customerId);

    List<Map<String, Object>> getUserList(Map<String, String> map);

    List<Map<String, Object>> getAllUserList(Map<String, String> map);

    List<Map<String, Object>> getParentList(Map<String, String> map);

    List<Map<String, Object>> getUserParentList(Map<String, String> map);

    Long getOrgBalance(Map<String, Object> map);

    List<Map<String, Object>> getSales2(Map<String, Object> map);
}
